.class Lcom/instagram/android/directshare/g/w;
.super Lcom/instagram/android/d/j/a;
.source "DirectSharePermalinkFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/j/a",
        "<",
        "Lcom/instagram/j/l;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/instagram/android/directshare/g/c;


# direct methods
.method constructor <init>(Lcom/instagram/android/directshare/g/c;)V
    .locals 0
    .parameter

    .prologue
    .line 385
    iput-object p1, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-direct {p0}, Lcom/instagram/android/d/j/a;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    .prologue
    const/4 v1, 0x1

    .line 423
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0, v1}, Lcom/instagram/android/directshare/g/c;->c(Lcom/instagram/android/directshare/g/c;Z)Z

    .line 424
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->k(Lcom/instagram/android/directshare/g/c;)Lcom/instagram/j/l;

    move-result-object v0

    if-nez v0, :cond_1

    move v0, v1

    :goto_0
    iget-object v2, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-virtual {v2}, Lcom/instagram/android/directshare/g/c;->v()Landroid/view/View;

    move-result-object v2

    invoke-static {v0, v2}, Lcom/instagram/android/widget/s;->a(ZLandroid/view/View;)V

    .line 426
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/g/c;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 427
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/a/c;->a(Z)V

    .line 429
    :cond_0
    return-void

    .line 424
    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected a(Lcom/instagram/android/d/j/j;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/j",
            "<",
            "Lcom/instagram/j/l;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 398
    if-eqz p1, :cond_1

    invoke-virtual {p1}, Lcom/instagram/android/d/j/j;->c()Lch/boye/httpclientandroidlib/StatusLine;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {p1}, Lcom/instagram/android/d/j/j;->c()Lch/boye/httpclientandroidlib/StatusLine;

    move-result-object v0

    invoke-interface {v0}, Lch/boye/httpclientandroidlib/StatusLine;->getStatusCode()I

    move-result v0

    const/16 v1, 0x194

    if-ne v0, v1, :cond_1

    .line 400
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->j(Lcom/instagram/android/directshare/g/c;)V

    .line 409
    :cond_0
    :goto_0
    return-void

    .line 401
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/g/c;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/n/h;->c(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 407
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/g/c;->getContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->could_not_refresh_feed:I

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method

.method protected a(Lcom/instagram/j/l;)V
    .locals 2
    .parameter

    .prologue
    .line 388
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0, p1}, Lcom/instagram/android/directshare/g/c;->a(Lcom/instagram/android/directshare/g/c;Lcom/instagram/j/l;)Lcom/instagram/j/l;

    .line 389
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->a(Lcom/instagram/android/directshare/g/c;)V

    .line 390
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/a/c;->b()V

    .line 391
    invoke-static {}, Lcom/instagram/android/c2dm/k;->a()Lcom/instagram/android/c2dm/k;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v1}, Lcom/instagram/android/directshare/g/c;->b(Lcom/instagram/android/directshare/g/c;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/c2dm/k;->a(Ljava/lang/String;)V

    .line 392
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->h(Lcom/instagram/android/directshare/g/c;)V

    .line 393
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->i(Lcom/instagram/android/directshare/g/c;)V

    .line 394
    return-void
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 385
    check-cast p1, Lcom/instagram/j/l;

    invoke-virtual {p0, p1}, Lcom/instagram/android/directshare/g/w;->a(Lcom/instagram/j/l;)V

    return-void
.end method

.method public b()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 413
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0, v1}, Lcom/instagram/android/directshare/g/c;->c(Lcom/instagram/android/directshare/g/c;Z)Z

    .line 414
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/g/c;->v()Landroid/view/View;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/instagram/android/widget/s;->a(ZLandroid/view/View;)V

    .line 416
    iget-object v0, p0, Lcom/instagram/android/directshare/g/w;->a:Lcom/instagram/android/directshare/g/c;

    invoke-virtual {v0}, Lcom/instagram/android/directshare/g/c;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 417
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/a/c;->a(Z)V

    .line 419
    :cond_0
    return-void
.end method
